package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceRuleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceRuleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateIsNull() {
            addCriterion("is_contain_other_date is null");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateIsNotNull() {
            addCriterion("is_contain_other_date is not null");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateEqualTo(Byte value) {
            addCriterion("is_contain_other_date =", value, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateNotEqualTo(Byte value) {
            addCriterion("is_contain_other_date <>", value, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateGreaterThan(Byte value) {
            addCriterion("is_contain_other_date >", value, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_contain_other_date >=", value, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateLessThan(Byte value) {
            addCriterion("is_contain_other_date <", value, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateLessThanOrEqualTo(Byte value) {
            addCriterion("is_contain_other_date <=", value, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateIn(List<Byte> values) {
            addCriterion("is_contain_other_date in", values, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateNotIn(List<Byte> values) {
            addCriterion("is_contain_other_date not in", values, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateBetween(Byte value1, Byte value2) {
            addCriterion("is_contain_other_date between", value1, value2, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andIsContainOtherDateNotBetween(Byte value1, Byte value2) {
            addCriterion("is_contain_other_date not between", value1, value2, "isContainOtherDate");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberIsNull() {
            addCriterion("cancel_max_number is null");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberIsNotNull() {
            addCriterion("cancel_max_number is not null");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberEqualTo(Integer value) {
            addCriterion("cancel_max_number =", value, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberNotEqualTo(Integer value) {
            addCriterion("cancel_max_number <>", value, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberGreaterThan(Integer value) {
            addCriterion("cancel_max_number >", value, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("cancel_max_number >=", value, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberLessThan(Integer value) {
            addCriterion("cancel_max_number <", value, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberLessThanOrEqualTo(Integer value) {
            addCriterion("cancel_max_number <=", value, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberIn(List<Integer> values) {
            addCriterion("cancel_max_number in", values, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberNotIn(List<Integer> values) {
            addCriterion("cancel_max_number not in", values, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberBetween(Integer value1, Integer value2) {
            addCriterion("cancel_max_number between", value1, value2, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andCancelMaxNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("cancel_max_number not between", value1, value2, "cancelMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberIsNull() {
            addCriterion("unsubscribe_max_number is null");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberIsNotNull() {
            addCriterion("unsubscribe_max_number is not null");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberEqualTo(Integer value) {
            addCriterion("unsubscribe_max_number =", value, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberNotEqualTo(Integer value) {
            addCriterion("unsubscribe_max_number <>", value, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberGreaterThan(Integer value) {
            addCriterion("unsubscribe_max_number >", value, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("unsubscribe_max_number >=", value, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberLessThan(Integer value) {
            addCriterion("unsubscribe_max_number <", value, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberLessThanOrEqualTo(Integer value) {
            addCriterion("unsubscribe_max_number <=", value, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberIn(List<Integer> values) {
            addCriterion("unsubscribe_max_number in", values, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberNotIn(List<Integer> values) {
            addCriterion("unsubscribe_max_number not in", values, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberBetween(Integer value1, Integer value2) {
            addCriterion("unsubscribe_max_number between", value1, value2, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeMaxNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("unsubscribe_max_number not between", value1, value2, "unsubscribeMaxNumber");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeIsNull() {
            addCriterion("all_order_max_time is null");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeIsNotNull() {
            addCriterion("all_order_max_time is not null");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeEqualTo(Integer value) {
            addCriterion("all_order_max_time =", value, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeNotEqualTo(Integer value) {
            addCriterion("all_order_max_time <>", value, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeGreaterThan(Integer value) {
            addCriterion("all_order_max_time >", value, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_order_max_time >=", value, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeLessThan(Integer value) {
            addCriterion("all_order_max_time <", value, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeLessThanOrEqualTo(Integer value) {
            addCriterion("all_order_max_time <=", value, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeIn(List<Integer> values) {
            addCriterion("all_order_max_time in", values, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeNotIn(List<Integer> values) {
            addCriterion("all_order_max_time not in", values, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeBetween(Integer value1, Integer value2) {
            addCriterion("all_order_max_time between", value1, value2, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andAllOrderMaxTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("all_order_max_time not between", value1, value2, "allOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeIsNull() {
            addCriterion("once_order_max_time is null");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeIsNotNull() {
            addCriterion("once_order_max_time is not null");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeEqualTo(Integer value) {
            addCriterion("once_order_max_time =", value, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeNotEqualTo(Integer value) {
            addCriterion("once_order_max_time <>", value, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeGreaterThan(Integer value) {
            addCriterion("once_order_max_time >", value, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("once_order_max_time >=", value, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeLessThan(Integer value) {
            addCriterion("once_order_max_time <", value, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeLessThanOrEqualTo(Integer value) {
            addCriterion("once_order_max_time <=", value, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeIn(List<Integer> values) {
            addCriterion("once_order_max_time in", values, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeNotIn(List<Integer> values) {
            addCriterion("once_order_max_time not in", values, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeBetween(Integer value1, Integer value2) {
            addCriterion("once_order_max_time between", value1, value2, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andOnceOrderMaxTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("once_order_max_time not between", value1, value2, "onceOrderMaxTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeIsNull() {
            addCriterion("unsubscribe_time is null");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeIsNotNull() {
            addCriterion("unsubscribe_time is not null");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeEqualTo(Integer value) {
            addCriterion("unsubscribe_time =", value, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeNotEqualTo(Integer value) {
            addCriterion("unsubscribe_time <>", value, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeGreaterThan(Integer value) {
            addCriterion("unsubscribe_time >", value, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("unsubscribe_time >=", value, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeLessThan(Integer value) {
            addCriterion("unsubscribe_time <", value, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeLessThanOrEqualTo(Integer value) {
            addCriterion("unsubscribe_time <=", value, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeIn(List<Integer> values) {
            addCriterion("unsubscribe_time in", values, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeNotIn(List<Integer> values) {
            addCriterion("unsubscribe_time not in", values, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeBetween(Integer value1, Integer value2) {
            addCriterion("unsubscribe_time between", value1, value2, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andUnsubscribeTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("unsubscribe_time not between", value1, value2, "unsubscribeTime");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleIsNull() {
            addCriterion("sync_sale_plan_cycle is null");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleIsNotNull() {
            addCriterion("sync_sale_plan_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleEqualTo(Integer value) {
            addCriterion("sync_sale_plan_cycle =", value, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleNotEqualTo(Integer value) {
            addCriterion("sync_sale_plan_cycle <>", value, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleGreaterThan(Integer value) {
            addCriterion("sync_sale_plan_cycle >", value, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleGreaterThanOrEqualTo(Integer value) {
            addCriterion("sync_sale_plan_cycle >=", value, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleLessThan(Integer value) {
            addCriterion("sync_sale_plan_cycle <", value, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleLessThanOrEqualTo(Integer value) {
            addCriterion("sync_sale_plan_cycle <=", value, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleIn(List<Integer> values) {
            addCriterion("sync_sale_plan_cycle in", values, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleNotIn(List<Integer> values) {
            addCriterion("sync_sale_plan_cycle not in", values, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleBetween(Integer value1, Integer value2) {
            addCriterion("sync_sale_plan_cycle between", value1, value2, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andSyncSalePlanCycleNotBetween(Integer value1, Integer value2) {
            addCriterion("sync_sale_plan_cycle not between", value1, value2, "syncSalePlanCycle");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNull() {
            addCriterion("create_uid is null");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNotNull() {
            addCriterion("create_uid is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUidEqualTo(Integer value) {
            addCriterion("create_uid =", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotEqualTo(Integer value) {
            addCriterion("create_uid <>", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThan(Integer value) {
            addCriterion("create_uid >", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_uid >=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThan(Integer value) {
            addCriterion("create_uid <", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThanOrEqualTo(Integer value) {
            addCriterion("create_uid <=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidIn(List<Integer> values) {
            addCriterion("create_uid in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotIn(List<Integer> values) {
            addCriterion("create_uid not in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidBetween(Integer value1, Integer value2) {
            addCriterion("create_uid between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotBetween(Integer value1, Integer value2) {
            addCriterion("create_uid not between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUidIsNull() {
            addCriterion("update_uid is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUidIsNotNull() {
            addCriterion("update_uid is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUidEqualTo(Integer value) {
            addCriterion("update_uid =", value, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidNotEqualTo(Integer value) {
            addCriterion("update_uid <>", value, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidGreaterThan(Integer value) {
            addCriterion("update_uid >", value, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_uid >=", value, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidLessThan(Integer value) {
            addCriterion("update_uid <", value, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidLessThanOrEqualTo(Integer value) {
            addCriterion("update_uid <=", value, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidIn(List<Integer> values) {
            addCriterion("update_uid in", values, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidNotIn(List<Integer> values) {
            addCriterion("update_uid not in", values, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidBetween(Integer value1, Integer value2) {
            addCriterion("update_uid between", value1, value2, "updateUid");
            return (Criteria) this;
        }

        public Criteria andUpdateUidNotBetween(Integer value1, Integer value2) {
            addCriterion("update_uid not between", value1, value2, "updateUid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}